import _Fetch from '@/server/Fetch'
import { API_POST_COURSE_LEFT } from '@/api/college/get_course_left_data'
import { API_POST_COURSE_RIGHT } from '@/api/college/get_course_right_data'

export async function get_course_left_list() {
  return await _Fetch(API_POST_COURSE_LEFT)
}
export async function get_course_right_data(params) {
  return await _Fetch(API_POST_COURSE_RIGHT, {
    courseClassificationId: params.id,
    pageNum: params.pageNum,
    pageSize: params.pageSize,
    type: params.type,
  })
}
